package com.tct.smartRE.fwk.domain;

import java.util.Set;

public class UserGroup extends BusinessObject {
	private String name;

	private Set<Role> roles;
	
	public UserGroup() {
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}

	public Set<Role> getRoles() {
		return roles;
	}
	
	@Override
	public String toString() {
		return getName();
	}
}
